package mspbots.cw.business.core.users;

import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Flux;

/**
 * @author Jay.Yang
 */
public interface UserTeamMappingRepository extends R2dbcRepository<UserTeamMapping, Long> {

    Flux<UserTeamMapping> findByUserIdAndTenantCode(Long userId, Long tenantCode);

}
